let kingUrl = ''
let kingMlhUrl = ''
let kingWs = ''

switch (BUILD_ENV) {
    case 'dev': {
        kingUrl = 'https://qznlsx-apif-test.wjiuye.com/' // 开发
        kingMlhUrl = 'https://api-test.busionline.com/' // 开发
        kingWs = 'ws://qznlsx-apif-test.wjiuye.com:9501/'
        break
    }
    case 'test': {
        kingUrl = 'https://qznlsx-apif-test.wjiuye.com/' // 开发
        kingMlhUrl = 'https://api-test.busionline.com/' // 开发
        kingWs = 'wss://qznlsx-apif-test.wjiuye.com/wss'
        break
    }

    case 'pro': {
        kingUrl = 'https://qznlsx-apif.wjiuye.com/' // 正式
        kingMlhUrl = 'https://api.busionline.com/' // 开发
        kingWs = 'wss://qznlsx-apif.wjiuye.com/wss'
        break
    }

    default:
        // 开发
        kingUrl = 'https://qznlsx-apif-test.wjiuye.com/'
        kingMlhUrl = 'https://api-test.busionline.com/' // 开发
        kingWs = 'ws://qznlsx-apif-test.wjiuye.com/wss'
        break
}

export { kingWs, kingMlhUrl }
export default kingUrl
